﻿#ifndef CSQLMANAGER_H
#define CSQLMANAGER_H
#include <QString>
#include <QSqlDatabase>



class CSQLManager
{
public:
    CSQLManager();
    ~CSQLManager();
    //static bool openDB(QSqlDatabase& sqlDataBase);
    static bool exec(QSqlDatabase db, QString sql);
    static bool isTableExist(QSqlDatabase db, QString tableName);

    void addSrcData();

};

#endif // CSQLMANAGER_H
